﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 炒菜
{
    class DeliveryRobot
    {
        public int hours;
        public DeliveryRobot(string name, int hours) : base(name)
        {

        }
        public override void Working()
        {
            Console.WriteLine("我是传菜机器人，我叫{0}，工作了{1}小时", this.Name, this.hours);
        }

    }
}
